Window

Undocumented in source.

Constructors

this
this(T config)
Undocumented in source.
this
this(WindowConfig config)
Undocumented in source.

Members

Functions

hasBeenClosed
bool hasBeenClosed()
Undocumented in source. Be warned that the author may not have intended to support it.
hide
void hide()
Undocumented in source.
icon
void icon(Image image)
Undocumented in source.
icon
deprecated void icon(ushort width, ushort height, ubyte[3][] idata, ubyte[3]* transparent)
Undocumented in source.
show
void show()
Undocumented in source.

Mixins

__anonymous
mixin Eventing!("onDraw", Windowable)
Undocumented in source.
__anonymous
mixin Eventing!("onMove", Windowable, int, int)
Undocumented in source.
__anonymous
mixin Eventing!("onResize", Windowable, uint, uint)
Undocumented in source.
__anonymous
mixin Eventing!("onClose", Windowable)
Undocumented in source.
__anonymous
mixin Eventing!("onMouseDown", Windowable, MouseButtons, int, int)
Undocumented in source.
__anonymous
mixin Eventing!("onMouseMove", Windowable, int, int)
Undocumented in source.
__anonymous
mixin Eventing!("onMouseUp", Windowable, MouseButtons)
Undocumented in source.
__anonymous
mixin Eventing!("onKeyDown", Windowable, Keys, KeyModifiers)
Undocumented in source.
__anonymous
mixin Eventing!("onKeyUp", Windowable, Keys, KeyModifiers)
Undocumented in source.

Properties

canResize
bool canResize [@property setter]
Undocumented in source.
close
void close [@property getter]
Undocumented in source.
context
IContext context [@property getter]
Undocumented in source.
fullscreen
bool fullscreen [@property setter]
Undocumented in source.
hwnd
HWND hwnd [@property getter]
Undocumented in source.
move
void move(int x, int y)
Undocumented in source.
size
void size(uint width, uint height)
Undocumented in source.
title
string title [@property setter]
Undocumented in source.
title
dstring title [@property setter]
Undocumented in source.
title
wstring title [@property setter]
Undocumented in source.

Static functions

messageLoop
void messageLoop()
Undocumented in source. Be warned that the author may not have intended to support it.
messageLoopIteration
bool messageLoopIteration(uint minBlocking, uint maxNonBlocking)
Undocumented in source. Be warned that the author may not have intended to support it.

Inherited Members

From Windowable

messageLoop
void messageLoop()

Continues iteration of the message loop.

messageLoopIteration
void messageLoopIteration()

A single iteration of the message loop.

show
void show()

Hides the window.

hide
void hide()

Shows the window.

__anonymous
mixin IEventing!("onDraw", Windowable)
Undocumented in source.
__anonymous
mixin IEventing!("onMove", Windowable, int, int)
Undocumented in source.
__anonymous
mixin IEventing!("onResize", Windowable, uint, uint)
Undocumented in source.
__anonymous
mixin IEventing!("onClose", Windowable)
Undocumented in source.
__anonymous
mixin IEventing!("onMouseDown", Windowable, MouseButtons, int, int)
Undocumented in source.
__anonymous
mixin IEventing!("onMouseMove", Windowable, int, int)
Undocumented in source.
__anonymous
mixin IEventing!("onMouseUp", Windowable, MouseButtons)
Undocumented in source.
__anonymous
mixin IEventing!("onKeyDown", Windowable, Keys, KeyModifiers)
Undocumented in source.
__anonymous
mixin IEventing!("onKeyUp", Windowable, Keys, KeyModifiers)
Undocumented in source.
title
string title [@property setter]

Sets the title text.

title
dstring title [@property setter]

Sets the title text.

title
wstring title [@property setter]

Sets the title text.

size
void size(uint width, uint height)

Resize the window.

move
void move(int x, int y)

Move the window to coordinate.

canResize
bool canResize [@property setter]

Enable / disable resizing of the window.

fullscreen
bool fullscreen [@property setter]

Go into/out fullscreen

close
void close [@property getter]

Closes the window. The window cannot reopened once closed. *

hasBeenClosed
bool hasBeenClosed [@property getter]

Has the window been closed?

context
IContext context [@property getter]

Gets the current context that the window has open or null for none.

icon
void icon(Image image)

* Sets the icon for the window. * Supports transparency. * * Params: * image = The image (from Devisualization.Image).

icon
deprecated void icon(ushort width, ushort height, ubyte[3][] data, ubyte[3]* transparent)

Sets the icon for the window. Supports transparency.

Meta